<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::visualization::MouseEvent类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1visualization_1_1_mouse_event.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1visualization_1_1_mouse_event-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::visualization::MouseEvent类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:aa7a576ec09027d0b01aecb5d0d39851b"><td class="memItemLeft" align="right" valign="top"><a id="aa7a576ec09027d0b01aecb5d0d39851b"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Type</b> { <br />
&#160;&#160;<b>MouseMove</b> = 1
, <b>MouseButtonPress</b>
, <b>MouseButtonRelease</b>
, <b>MouseScrollDown</b>
, <br />
&#160;&#160;<b>MouseScrollUp</b>
, <b>MouseDblClick</b>
<br />
 }</td></tr>
<tr class="separator:aa7a576ec09027d0b01aecb5d0d39851b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78a564090c0006e4fea7416da5d6def5"><td class="memItemLeft" align="right" valign="top"><a id="a78a564090c0006e4fea7416da5d6def5"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>MouseButton</b> { <br />
&#160;&#160;<b>NoButton</b> = 0
, <b>LeftButton</b>
, <b>MiddleButton</b>
, <b>RightButton</b>
, <br />
&#160;&#160;<b>VScroll</b>
<br />
 }</td></tr>
<tr class="separator:a78a564090c0006e4fea7416da5d6def5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a90b2a3d054bfcfafd7988218615cb0d7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a90b2a3d054bfcfafd7988218615cb0d7">MouseEvent</a> (const Type &amp;type, const MouseButton &amp;button, unsigned int x, unsigned int y, bool alt, bool ctrl, bool shift, bool selection_mode=false)</td></tr>
<tr class="separator:a90b2a3d054bfcfafd7988218615cb0d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab75810a1e0a57e228f5f251bd8301cc"><td class="memItemLeft" align="right" valign="top">const Type &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#aab75810a1e0a57e228f5f251bd8301cc">getType</a> () const</td></tr>
<tr class="separator:aab75810a1e0a57e228f5f251bd8301cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00903947ca0ad2a02e3c56f0be4c5dd9"><td class="memItemLeft" align="right" valign="top"><a id="a00903947ca0ad2a02e3c56f0be4c5dd9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a00903947ca0ad2a02e3c56f0be4c5dd9">setType</a> (const Type &amp;type)</td></tr>
<tr class="memdesc:a00903947ca0ad2a02e3c56f0be4c5dd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the mouse event type <br /></td></tr>
<tr class="separator:a00903947ca0ad2a02e3c56f0be4c5dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14d49b4f565b3f94693fba08ba19d5b0"><td class="memItemLeft" align="right" valign="top">const MouseButton &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a14d49b4f565b3f94693fba08ba19d5b0">getButton</a> () const</td></tr>
<tr class="separator:a14d49b4f565b3f94693fba08ba19d5b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e4e6332a440f52ac4b0f0252ff591c8"><td class="memItemLeft" align="right" valign="top"><a id="a8e4e6332a440f52ac4b0f0252ff591c8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a8e4e6332a440f52ac4b0f0252ff591c8">setButton</a> (const MouseButton &amp;button)</td></tr>
<tr class="memdesc:a8e4e6332a440f52ac4b0f0252ff591c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the button that caused the event <br /></td></tr>
<tr class="separator:a8e4e6332a440f52ac4b0f0252ff591c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bd3a3d005f6f54a18121ab83be884a2"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a2bd3a3d005f6f54a18121ab83be884a2">getX</a> () const</td></tr>
<tr class="separator:a2bd3a3d005f6f54a18121ab83be884a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6717601f91ef9598f6e242e6506a13c4"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a6717601f91ef9598f6e242e6506a13c4">getY</a> () const</td></tr>
<tr class="separator:a6717601f91ef9598f6e242e6506a13c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a916b28c26282cbe08f4594ed2cfd7a65"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#a916b28c26282cbe08f4594ed2cfd7a65">getKeyboardModifiers</a> () const</td></tr>
<tr class="separator:a916b28c26282cbe08f4594ed2cfd7a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5a7e203778594aa3ab9de42f079d24"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html#aae5a7e203778594aa3ab9de42f079d24">getSelectionMode</a> () const</td></tr>
<tr class="separator:aae5a7e203778594aa3ab9de42f079d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a508bc16107690d98353bb8d547d32adc"><td class="memItemLeft" align="right" valign="top"><a id="a508bc16107690d98353bb8d547d32adc"></a>
Type&#160;</td><td class="memItemRight" valign="bottom"><b>type_</b></td></tr>
<tr class="separator:a508bc16107690d98353bb8d547d32adc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71d38dbc495b95b41ab48d404ca9ac6d"><td class="memItemLeft" align="right" valign="top"><a id="a71d38dbc495b95b41ab48d404ca9ac6d"></a>
MouseButton&#160;</td><td class="memItemRight" valign="bottom"><b>button_</b></td></tr>
<tr class="separator:a71d38dbc495b95b41ab48d404ca9ac6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2f36ac22a91846751446a1abfa2b035"><td class="memItemLeft" align="right" valign="top"><a id="ac2f36ac22a91846751446a1abfa2b035"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>pointer_x_</b></td></tr>
<tr class="separator:ac2f36ac22a91846751446a1abfa2b035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb842d6f3b816f1812d64e01f567569b"><td class="memItemLeft" align="right" valign="top"><a id="abb842d6f3b816f1812d64e01f567569b"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>pointer_y_</b></td></tr>
<tr class="separator:abb842d6f3b816f1812d64e01f567569b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a119833dbd67f2d822b099904e2610846"><td class="memItemLeft" align="right" valign="top"><a id="a119833dbd67f2d822b099904e2610846"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>key_state_</b></td></tr>
<tr class="separator:a119833dbd67f2d822b099904e2610846"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07711f2d74f04e0213b478816e645683"><td class="memItemLeft" align="right" valign="top"><a id="a07711f2d74f04e0213b478816e645683"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>selection_mode_</b></td></tr>
<tr class="separator:a07711f2d74f04e0213b478816e645683"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a90b2a3d054bfcfafd7988218615cb0d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90b2a3d054bfcfafd7988218615cb0d7">&#9670;&nbsp;</a></span>MouseEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">pcl::visualization::MouseEvent::MouseEvent </td>
          <td>(</td>
          <td class="paramtype">const Type &amp;&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const MouseButton &amp;&#160;</td>
          <td class="paramname"><em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>alt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ctrl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>shift</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>selection_mode</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>event type </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">button</td><td>The Button that causes the event </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">x</td><td>x position of mouse pointer at that time where event got fired </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">y</td><td>y position of mouse pointer at that time where event got fired </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">alt</td><td>whether the ALT key was pressed at that time where event got fired </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">ctrl</td><td>whether the CTRL key was pressed at that time where event got fired </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">shift</td><td>whether the Shift key was pressed at that time where event got fired </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">selection_mode</td><td>whether we are in selection mode </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    : type_ (type)</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    , button_ (button)</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    , pointer_x_ (x)</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    , pointer_y_ (y)</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    , key_state_ (0)</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    , selection_mode_ (selection_mode)</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    {</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;      <span class="keywordflow">if</span> (alt)</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        key_state_ = <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#a884bd66a673cec6d460f219388b567f1">KeyboardEvent::Alt</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;      <span class="keywordflow">if</span> (ctrl)</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        key_state_ |= <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#ae86f7f0e2a4af8b6d728317f26f8279a">KeyboardEvent::Ctrl</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;      <span class="keywordflow">if</span> (shift)</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        key_state_ |= <a class="code" href="classpcl_1_1visualization_1_1_keyboard_event.html#aad4bdb06fb083ac177f6fc86c6846a26">KeyboardEvent::Shift</a>;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    }</div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_keyboard_event_html_a884bd66a673cec6d460f219388b567f1"><div class="ttname"><a href="classpcl_1_1visualization_1_1_keyboard_event.html#a884bd66a673cec6d460f219388b567f1">pcl::visualization::KeyboardEvent::Alt</a></div><div class="ttdeci">static const unsigned int Alt</div><div class="ttdoc">bit patter for the ALT key</div><div class="ttdef"><b>Definition:</b> keyboard_event.h:53</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_keyboard_event_html_aad4bdb06fb083ac177f6fc86c6846a26"><div class="ttname"><a href="classpcl_1_1visualization_1_1_keyboard_event.html#aad4bdb06fb083ac177f6fc86c6846a26">pcl::visualization::KeyboardEvent::Shift</a></div><div class="ttdeci">static const unsigned int Shift</div><div class="ttdoc">bit patter for the Shift key</div><div class="ttdef"><b>Definition:</b> keyboard_event.h:57</div></div>
<div class="ttc" id="aclasspcl_1_1visualization_1_1_keyboard_event_html_ae86f7f0e2a4af8b6d728317f26f8279a"><div class="ttname"><a href="classpcl_1_1visualization_1_1_keyboard_event.html#ae86f7f0e2a4af8b6d728317f26f8279a">pcl::visualization::KeyboardEvent::Ctrl</a></div><div class="ttdeci">static const unsigned int Ctrl</div><div class="ttdoc">bit patter for the Control key</div><div class="ttdef"><b>Definition:</b> keyboard_event.h:55</div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a14d49b4f565b3f94693fba08ba19d5b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14d49b4f565b3f94693fba08ba19d5b0">&#9670;&nbsp;</a></span>getButton()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const MouseEvent::MouseButton &amp; pcl::visualization::MouseEvent::getButton </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>the Button that caused the action </dd></dl>
<div class="fragment"><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    {</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;      <span class="keywordflow">return</span> (button_);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a916b28c26282cbe08f4594ed2cfd7a65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a916b28c26282cbe08f4594ed2cfd7a65">&#9670;&nbsp;</a></span>getKeyboardModifiers()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int pcl::visualization::MouseEvent::getKeyboardModifiers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>returns the keyboard modifiers state at that time where the event got fired </dd></dl>
<div class="fragment"><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    {</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;      <span class="keywordflow">return</span> (key_state_);</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="aae5a7e203778594aa3ab9de42f079d24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae5a7e203778594aa3ab9de42f079d24">&#9670;&nbsp;</a></span>getSelectionMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::visualization::MouseEvent::getSelectionMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>selection mode status </dd></dl>
<div class="fragment"><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    {</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;      <span class="keywordflow">return</span> (selection_mode_);</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="aab75810a1e0a57e228f5f251bd8301cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab75810a1e0a57e228f5f251bd8301cc">&#9670;&nbsp;</a></span>getType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const MouseEvent::Type &amp; pcl::visualization::MouseEvent::getType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>type of mouse event </dd></dl>
<div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    {</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;      <span class="keywordflow">return</span> (type_);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a2bd3a3d005f6f54a18121ab83be884a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bd3a3d005f6f54a18121ab83be884a2">&#9670;&nbsp;</a></span>getX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int pcl::visualization::MouseEvent::getX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>the x position of the mouse pointer at that time where the event got fired </dd></dl>
<div class="fragment"><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    {</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;      <span class="keywordflow">return</span> (pointer_x_);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6717601f91ef9598f6e242e6506a13c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6717601f91ef9598f6e242e6506a13c4">&#9670;&nbsp;</a></span>getY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int pcl::visualization::MouseEvent::getY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>返回</dt><dd>the y position of the mouse pointer at that time where the event got fired </dd></dl>
<div class="fragment"><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    {</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;      <span class="keywordflow">return</span> (pointer_y_);</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>visualization/include/pcl/visualization/<a class="el" href="mouse__event_8h_source.html">mouse_event.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>visualization</b></li><li class="navelem"><a class="el" href="classpcl_1_1visualization_1_1_mouse_event.html">MouseEvent</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
